<?php
/**
 * Created by PhpStorm.
 * User: lphwxl
 * Date: 2018/7/11
 * Time: 13:47
 */

namespace App\Model;


use Illuminate\Database\Eloquent\Model;

class Order extends Model
{


    protected $table = 'order';



    public function tasks(){
        return $this->belongsTo(Task::class,'task_id','id');
    }







}